<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>BrainTrain: header/ControlRoom.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">BrainTrain
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_control_room_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ControlRoom.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_control_room_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &lt;osg/PositionAttitudeTransform&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &lt;osg/Group&gt;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;osg/Material&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;../header/ToonTexSwitcherCallback.h&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;../header/ProgramSwitcherCallback.h&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">namespace </span>brtr{</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classbrtr_1_1_control_room.html">   18</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classbrtr_1_1_control_room.html">ControlRoom</a> : <span class="keyword">public</span> osg::PositionAttitudeTransform {</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;        <a class="code" href="classbrtr_1_1_control_room.html#afb36cd27e18234098fbecd22ac325319">ControlRoom</a>(<span class="keywordtype">double</span> roomSize, <span class="keywordtype">int</span> lod, <a class="code" href="classbrtr_1_1_toon_tex_switcher_callback.html">brtr::ToonTexSwitcherCallback</a>&amp; toonCallback, <a class="code" href="classbrtr_1_1_program_switcher_callback.html">brtr::ProgramSwitcherCallback</a>&amp; programCallback );</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classbrtr_1_1_control_room.html#a97b0eb95277b12a2267f8e7c777aeda2">   31</a></span>&#160;        <a class="code" href="classbrtr_1_1_control_room.html#a97b0eb95277b12a2267f8e7c777aeda2">~ControlRoom</a>() {}</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <span class="keyword">private</span>:</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        osg::ref_ptr&lt;osg::Group&gt; <a class="code" href="classbrtr_1_1_control_room.html#a5dfafb496e18e8e4f6d792b144dd10b9">createRoomSurrounding</a>(<span class="keywordtype">double</span> roomSize, <span class="keywordtype">int</span> lod);</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        osg::ref_ptr&lt;osg::Group&gt; <a class="code" href="classbrtr_1_1_control_room.html#a15055ae530b811b7046871c5c1ef3f4f">createChessFigures</a>(<a class="code" href="classbrtr_1_1_toon_tex_switcher_callback.html">brtr::ToonTexSwitcherCallback</a>&amp; toonCallback, <a class="code" href="classbrtr_1_1_program_switcher_callback.html">brtr::ProgramSwitcherCallback</a>&amp; programCallback);</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        osg::ref_ptr&lt;osg::Material&gt; <a class="code" href="classbrtr_1_1_control_room.html#a1cb8b6799fcb85750e0d321a4fbed6f1">createMaterial</a>(osg::Vec4 diffuse, osg::Vec4 ambient, osg::Vec4 specular = osg::Vec4(0.7,0.7,0.7,1), <span class="keywordtype">double</span> shininess = 42.0);</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    };</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;}</div>
<div class="ttc" id="classbrtr_1_1_toon_tex_switcher_callback_html"><div class="ttname"><a href="classbrtr_1_1_toon_tex_switcher_callback.html">brtr::ToonTexSwitcherCallback</a></div><div class="ttdoc">Callback for switching the ToonTextures. </div><div class="ttdef"><b>Definition:</b> <a href="_toon_tex_switcher_callback_8h_source.html#l00017">ToonTexSwitcherCallback.h:17</a></div></div>
<div class="ttc" id="classbrtr_1_1_control_room_html_a97b0eb95277b12a2267f8e7c777aeda2"><div class="ttname"><a href="classbrtr_1_1_control_room.html#a97b0eb95277b12a2267f8e7c777aeda2">brtr::ControlRoom::~ControlRoom</a></div><div class="ttdeci">~ControlRoom()</div><div class="ttdef"><b>Definition:</b> <a href="_control_room_8h_source.html#l00031">ControlRoom.h:31</a></div></div>
<div class="ttc" id="classbrtr_1_1_program_switcher_callback_html"><div class="ttname"><a href="classbrtr_1_1_program_switcher_callback.html">brtr::ProgramSwitcherCallback</a></div><div class="ttdoc">Callback for switching the postprocess programs. </div><div class="ttdef"><b>Definition:</b> <a href="_program_switcher_callback_8h_source.html#l00017">ProgramSwitcherCallback.h:17</a></div></div>
<div class="ttc" id="classbrtr_1_1_control_room_html"><div class="ttname"><a href="classbrtr_1_1_control_room.html">brtr::ControlRoom</a></div><div class="ttdoc">Control Room Class, derived from PositionAttitudeTransform, set ups the whole room as its own childre...</div><div class="ttdef"><b>Definition:</b> <a href="_control_room_8h_source.html#l00018">ControlRoom.h:18</a></div></div>
<div class="ttc" id="classbrtr_1_1_control_room_html_a1cb8b6799fcb85750e0d321a4fbed6f1"><div class="ttname"><a href="classbrtr_1_1_control_room.html#a1cb8b6799fcb85750e0d321a4fbed6f1">brtr::ControlRoom::createMaterial</a></div><div class="ttdeci">osg::ref_ptr&lt; osg::Material &gt; createMaterial(osg::Vec4 diffuse, osg::Vec4 ambient, osg::Vec4 specular=osg::Vec4(0.7, 0.7, 0.7, 1), double shininess=42.0)</div><div class="ttdef"><b>Definition:</b> <a href="_control_room_8cpp_source.html#l00145">ControlRoom.cpp:145</a></div></div>
<div class="ttc" id="classbrtr_1_1_control_room_html_a15055ae530b811b7046871c5c1ef3f4f"><div class="ttname"><a href="classbrtr_1_1_control_room.html#a15055ae530b811b7046871c5c1ef3f4f">brtr::ControlRoom::createChessFigures</a></div><div class="ttdeci">osg::ref_ptr&lt; osg::Group &gt; createChessFigures(brtr::ToonTexSwitcherCallback &amp;toonCallback, brtr::ProgramSwitcherCallback &amp;programCallback)</div><div class="ttdef"><b>Definition:</b> <a href="_control_room_8cpp_source.html#l00100">ControlRoom.cpp:100</a></div></div>
<div class="ttc" id="classbrtr_1_1_control_room_html_a5dfafb496e18e8e4f6d792b144dd10b9"><div class="ttname"><a href="classbrtr_1_1_control_room.html#a5dfafb496e18e8e4f6d792b144dd10b9">brtr::ControlRoom::createRoomSurrounding</a></div><div class="ttdeci">osg::ref_ptr&lt; osg::Group &gt; createRoomSurrounding(double roomSize, int lod)</div><div class="ttdef"><b>Definition:</b> <a href="_control_room_8cpp_source.html#l00026">ControlRoom.cpp:26</a></div></div>
<div class="ttc" id="classbrtr_1_1_control_room_html_afb36cd27e18234098fbecd22ac325319"><div class="ttname"><a href="classbrtr_1_1_control_room.html#afb36cd27e18234098fbecd22ac325319">brtr::ControlRoom::ControlRoom</a></div><div class="ttdeci">ControlRoom(double roomSize, int lod, brtr::ToonTexSwitcherCallback &amp;toonCallback, brtr::ProgramSwitcherCallback &amp;programCallback)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> <a href="_control_room_8cpp_source.html#l00013">ControlRoom.cpp:13</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_1ec98ce50fa6ec55b40b8ffb1df38c3c.html">header</a></li><li class="navelem"><a class="el" href="_control_room_8h.html">ControlRoom.h</a></li>
    <li class="footer">Generated on Thu Jul 17 2014 01:40:24 for BrainTrain by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
  </ul>
</div>
</body>
</html>
